<?php
function page_notice($adm)
{
?>
<table class="adminlist" width="100%">
<form action="?api=notice" enctype="multipart/form-data" method="POST">
<tr>
	<th width="100%" style="text-align:center;" colspan="2">发布通知</th>
</tr>
<tr>
	<td align="center" width="25%"style="padding:10px"><img src="/data/notice.jpg?<?php echo time(); ?>"/><br/><input type="file" name="pic"/></td>
	<td width="75%" style="padding:10px">中文:<br/><textarea name="notice" style="width:100%" rows="4"><?php echo $adm['notice']; ?></textarea><br/>
		英文:<br/><textarea name="notice_eng" style="width:100%" rows="4"><?php echo $adm['notice_eng']; ?></textarea>
	</td>
</tr>
<tr><td align="center" colspan="2" width="100%"><input type="submit" value="保存	"/></td></tr>
</form>
</table>
<?php
}
?>